home *** CD-ROM | disk | FTP | other *** search
- #ifndef __WWW__
- #define __WWW__
-
- #include "acgi.h"
-
- // [1] Return the name of the log file that you want the ACGI to use.
-
- char *WWWGetLogName(void);
-
- // [2] Return pointers to the generic HTML pages that the ACGI
- // will use when reporting errors to your clients.
-
- void WWWGetHTMLPages(Handle refused, Handle tooBusy,
- Handle noMemory, Handle unexpectedError);
-
- // [3] Do any initialization you need prior to accepting your first request.
-
- OSErr WWWInit(void);
-
- // [4] Do any clean up you need prior to program termination.
-
- void WWWQuit(void);
-
- // [5] Carry out periodic processing tasks while the program is running.
-
- OSErr WWWPeriodicTask(void);
-
- // [6] Process a ‘search document’ (POST) request from the WWW server.
-
- OSErr WWWProcess(WWWRequest request);
-
- #endif
-